package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_new_server_welfare",autoSave = true)
public class LogNewServerWelfareGerReward {
    @FieldTypeAnnotation(isIndex = true)
    int activityId;
    @FieldTypeAnnotation(isIndex = true)
    long userId;
    @FieldTypeAnnotation
    long rewardTimeVipExp;
    @FieldTypeAnnotation
    int rewardLevel;
    @FieldTypeAnnotation
    Date time;
    @FieldTypeAnnotation
    Date registerTime;
    @FieldTypeAnnotation
    int getType;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getRewardTimeVipExp() {
        return rewardTimeVipExp;
    }

    public void setRewardTimeVipExp(long rewardTimeVipExp) {
        this.rewardTimeVipExp = rewardTimeVipExp;
    }

    public int getRewardLevel() {
        return rewardLevel;
    }

    public void setRewardLevel(int rewardLevel) {
        this.rewardLevel = rewardLevel;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public int getGetType() {
        return getType;
    }

    public void setGetType(int getType) {
        this.getType = getType;
    }

    public LogNewServerWelfareGerReward(long userId, int activityId, long rewardTimeVipExp, int rewardLevel, Date time, Date registerTime, int getType) {
        this.userId = userId;
        this.activityId = activityId;
        this.rewardTimeVipExp = rewardTimeVipExp;
        this.rewardLevel = rewardLevel;
        this.time = time;
        this.registerTime = registerTime;
        this.getType = getType;
    }

    public LogNewServerWelfareGerReward() {
    }
}
